<?php

class Zend_View_Helper_ProductImagePath {

	/**
	 * @return string
	 */
	public function productImagePath($size)
	{
		$path = '';
		switch($size) {
			case 'l':
				$path = 'sherpa/products/l/';
				break;
			case 'm':
				$path = 'sherpa/products/m/';
				break;
			default:
				throw new Exception('Size $size is missing');
		}
		return $path;
	}

}